#include"BSTree.h"


int main()
{
	int a;
	int lst[] = {2,3,4,5,1,2,6,7,11,22,23};
	BSTree<int> Tre;
	cin >> a;
	for (auto e : lst)
	{
		Tre.InsetR(e);
	}
	Tre.putnode();
	for (auto e : lst)
	{
		Tre.earse(e);
	}
	Tre.earse(3);
	cout << endl;
	Tre.putnode();
	return 0;
	
}
